#define _CRT_SECURE_NO_WARNINGS 1

class Solution {
public:
    vector<int> getNoZeroIntegers(int n) {
        vector<int> v1;
        int i = 0;
        int tmp = 0;
        string s1;
        string s2;
        for (i = 1; i < n; i++)
        {
            s2 = to_string(i);
            string::iterator it = s2.begin();
            while (it != s2.end())
            {
                if (*it == '0')
                {
                    break;
                }
                ++it;
            }
            if (it != s2.end())
            {
                continue;
            }
            tmp = n - i;
            s1 = to_string(tmp);
            it = s1.begin();
            while (it != s1.end())
            {
                if (*it == '0')
                {
                    break;
                }
                ++it;
            }
            if (it == s1.end())
            {
                break;
            }
        }
        v1.push_back(i);
        v1.push_back(n - i);

        return v1;
    }
};